package com.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class FirstController {
    @RequestMapping("firstController")
    public String sayHello(){
        System.out.println("访问第一个FirstController");
        return "success";
    }
}
